package com.jlastu.dlxy_androidapp.entity;

import java.io.Serializable;

public class OrderCart implements Serializable {
    public int id;
    private String productName;
    private String productDetails;
    private int quantity;
    private double totalAmount;
    private String orderTime;
    String locate;
    boolean isSelected = false;

    public OrderCart(String productName, String productDetails, int quantity, double totalAmount, String orderTime, int id, String locate) {
        this.productName = productName;
        this.productDetails = productDetails;
        this.quantity = quantity;
        this.totalAmount = totalAmount;
        this.orderTime = orderTime;
        this.id = id;
        this.locate = locate;
    }

    public String getProductName() {
        return productName;
    }

    public String getProductDetails() {
        return productDetails;
    }

    public int getQuantity() {
        return quantity;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public int getId() {
        return id;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public String getLocate() {
        return locate;
    }

    public String getOrderTime() {
        return orderTime;
    }

}